package cn.credit.loan.dao.creditresult;

import java.util.List;

import cn.credit.loan.entity.Creditresult;

/**
 * 授信额度评分Dao层---Mapper接口
 * @author LI
 *
 */
public interface CreditresultMapper {
	/**
	 * 授信额度评分查询
	 * @param creditresult
	 * @return
	 * @throws Exception
	 */
	public List<Creditresult> getCreditresutList(Creditresult creditresult)throws Exception;
	
	/**
	 * 授信额度评分添加
	 * @param creditresult
	 * @return
	 * @throws Exception
	 */
	public int getCreditresultAdd(Creditresult creditresult)throws Exception;
	
	/**
	 * 授信额度评分更新
	 * @param creditresult
	 * @return
	 * @throws Exception
	 */
	public int getCreditresultUpdate(Creditresult creditresult)throws Exception;
	
	/**
	 * 授信额度评分删除
	 * @param creditId
	 * @return
	 * @throws Exception
	 */
	public boolean getCreditresultDelete(int creditId)throws Exception;
}
